package com.group9.service;

import com.group9.dto.FruitInfosPageParams;
import com.group9.dto.FruitInfosParams;
import com.group9.pojo.FruitInfo;

import java.util.List;

/**
 * Created by QZP on 2020/5/11.
 */
public interface FruitInfosService {

    List<FruitInfo> selectAll();

    FruitInfosPageParams<FruitInfo> selectByPages(FruitInfosPageParams fruitInfosPageParams);

    int selectCountSize();

    List<FruitInfo> selectByPage(int pageNum,int pageSize);

    List<FruitInfo> selectByNameAndKind(FruitInfosParams fruitInfosParams);

}
